package cn.topevery.garden.entity.po;

import cn.topevery.garden.framework.base.BaseEntity;
import com.alibaba.fastjson.annotation.JSONField;
import hw.topevery.framework.annotation.DbTable;
import hw.topevery.framework.annotation.DbTableField;
import hw.topevery.framework.enums.DbTypeEnum;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 养护企业预防表
 *
 * @author code-generate
 * @date 2022-01-05
 */
@Data
@DbTable(tableName = "t_disease_obj")
public class DiseaseObj extends BaseEntity {
        /**
     * 病虫害Id 
     */
    @DbTableField(columnName = "c_disease_id", dbType = DbTypeEnum.INTEGER)
    public Integer diseaseId ;

    /**
     * 病虫害名称
     */
    @DbTableField(columnName = "c_disease_name", dbType = DbTypeEnum.VARCHAR)
    public String diseaseName ;

    /**
     * 养护企业Id 
     */
    @DbTableField(columnName = "c_obj_id", dbType = DbTypeEnum.INTEGER)
    public Integer objId ;

    /**
     * 养护企业名称 
     */
    @DbTableField(columnName = "c_obj_name", dbType = DbTypeEnum.VARCHAR)
    public String objName ;

    /**
     * 监管单位Id 
     */
    @DbTableField(columnName = "c_mgr_dept_id", dbType = DbTypeEnum.INTEGER)
    public Integer mgrDeptId ;

    /**
     * 监管单位名称 
     */
    @DbTableField(columnName = "c_mgr_dept_name", dbType = DbTypeEnum.VARCHAR)
    public String mgrDeptName ;

    /**
     * 基础数据对象类型   数据字典
     */
    @DbTableField(columnName = "c_basic_type", dbType = DbTypeEnum.INTEGER)
    public Integer basicType ;

    /**
     * 基础数据对象Id 
     */
    @DbTableField(columnName = "c_basic_id", dbType = DbTypeEnum.INTEGER)
    public Integer basicId ;

    /**
     * 基础数据对象名称 
     */
    @DbTableField(columnName = "c_basic_name", dbType = DbTypeEnum.VARCHAR)
    public String basicName ;

    /**
     * 地址 
     */
    @DbTableField(columnName = "c_address", dbType = DbTypeEnum.VARCHAR)
    public String address ;

    /**
     * 内容 
     */
    @DbTableField(columnName = "c_content", dbType = DbTypeEnum.VARCHAR)
    public String content ;

    /**
     * 备注 
     */
    @DbTableField(columnName = "c_remark", dbType = DbTypeEnum.VARCHAR)
    public String remark ;

    /**
     * 修改人 
     */
    @DbTableField(columnName = "c_db_update_id", dbType = DbTypeEnum.INTEGER)
    public Integer dbUpdateId ;

    /**
     * 修改时间 
     */
    @DbTableField(columnName = "c_db_update_date", dbType = DbTypeEnum.TIMESTAMP)
    @JSONField(format="yyyy-MM-dd HH:mm:ss")
    public LocalDateTime dbUpdateDate ;


}
